﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class VRVideoEnter : MonoBehaviour {

    private void Awake()
    {
        UIInit();
        VideoInit();
    }

    // Use this for initialization
    void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}

    private void UIInit()
    {
        MainWindows win = new MainWindows("MainWindows");
    }

    private void VideoInit()
    {
        MediaPlayerCtrl.Instance();
    }

    public void OnDestroy()
    {
        MediaPlayerCtrl.Instance().RemoveListener();
    }
}
